import axios from '@/libs/api.request.js'

export default {
    login: (data = {}) => {
        return axios.request({
            url: '/api/user/login',
            data
        })
    },
    profile: (data = {}) => {
        return axios.request({
            url: '/api/user/profile',
            data
        })
    }
}